﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public class Teacher
    {
        public Teacher()
        {
            sex = "男";
        }
        public string name;

        private string sex;

        internal int age;

        protected string petName;
    }

    public class Teacher1 : Teacher
    {
        public Teacher1()
        {
            petName = "符合";
        }
       
    }
}
